<template>
    <view class="btn-get-code">
        <text class="btn btn-success-hollow" @click="getCode">获取验证码</text>
    </view>
</template>

<script>
export default {
    props: {
        codeType: {
            type: Number,
            default: 0,
        },
    },
    data() {
        return {}
    },
    mounted() {},
    methods: {
        //获取验码
        getCode() {
            console.log("获取验证码")
        },
    },
}
</script>

<style lang="scss">
.btn {
    margin-left: 0;
}
</style>
